﻿/**
 * ScrollBar Event Component Main Class - Created by FlashFrameLess Team OCT/2008
 *
 * @author		FabioTNT / FlashFrameLessTeam - http://www.flashframeless.com/
 * @version		1.0
 */

package com.flashframeless.components.ui.scrollBar {

	import flash.events.Event;
	
	public class ScrollBarEvent extends Event {
		
		public  static const UPDATE		: String = "update";
		private var 		_scrollVal	: Number = 0;
		
		public function ScrollBarEvent( _type:String, _value:Number = 0 ):void {
			
			super( _type );
			
			_scrollVal = _value;
			
		}
		
		/*-------------------------------------------------------------------------------------------------*\
		|* Getters e Setters ------------------------------------------------------------------------------*|
		\*-------------------------------------------------------------------------------------------------*/
				
		/**
		 * Scroll Value Getter.
		 *
		 * @param	status	Boolean
		 * @return			void
		 */
		 public function get scrollValue():Number {
			
			return _scrollVal;
			
		}		
				
	}
	
}